.ntc .x-field.x-form-display-field-parent.x-form-item-default:not(.x-form-type-checkbox):not(.x-checkboxgroup-form-item):not(.x-form-type-radio):not(.default-style):not(.my-datetime-picker):not(.my-file-upload),
.ntc .x-field.x-form-readonly.x-form-item-default:not(.x-form-type-checkbox):not(.x-checkboxgroup-form-item):not(.x-form-type-radio):not(.default-style):not(.my-datetime-picker):not(.my-file-upload) {
    border: none;
    background-color: inherit !important;
    border-bottom: 1px solid var(--ntcGray4);
    border-radius: 0px;

   .x-form-item-label-default.x-form-item-label-default > .x-form-item-label-inner .x-form-item-label-text {
        font-weight: 700;
        font-size: 11px;
        font-color:  var(--ntcGray6);
        left: 0px;	
    }

    .x-form-display-field-body .x-form-display-field {
        padding: 4px 10px 6px 0;
    }

    .x-form-display-field-default {
        font-size: 15px;
    }
	
	.x-form-field.x-form-textarea {
		padding: 0px 10px 0px 0px;
	}
}

.ntc .x-fieldset:not(.fborder) .x-fieldset-body-default {
    padding: 10px 20px;
}

.ntc .fieldBottomBorder {
     border-bottom: 1px solid var(--ntcGray4);
}	

.ntc .bg-main {
    background-color: var(--ntcGray2)!important;
}

.ntc .x-panel.x-panel-default {
    background-color: white;
}

.ntc .x-panel-body-default {
    background-color: white;
}

.ntc .x-tab-bar-body{
    padding: 3px;
    background-color: white;
    border: 1px solid var(--ntcGray4);
    border-radius: 8px;
}

.ntc .x-tab.x-tab-default {
    text-align: center;
    border-radius: 5px;
    max-height: 40px;
    background-color: white;	

    &.x-tab-active {
        background-color: var(--primary2);	

        .x-tab-inner {
            color: white;		
        }
        .x-tab-icon-el {
            color: white;
        }
    }

    .x-tab-inner {
        color: var(--ntcGray6);
    }

    .x-tab-icon-el {
        color: var(--ntcGray6);
    }

    span[tab-count].badge::after {
        right: -9px;
        top: -8px;
    }

    &:not(.x-tab-active) span[tab-count].badge::after {
        color: var(--ntcGray6);
        border: 1px solid var(--ntcGray6);
    }
}

.ntc .x-tab-bar-default {
    background-color: transparent;
}

.ntc .x-tab-bar span.x-tab-text {
    top: -4px;
}

.ntc .x-tab-bar-horizontal > .x-tab-bar-body-default {
    min-height: unset;
}

.ntc .x-toolbar-default {
    padding: 20px 10px 20px 15px;
}

.ntc .x-btn.x-btn-secondaryWhiteRound-small {
    border: 2px solid var(--my-btn-secondaryWhite-color) !important;
}

.ntc .x-grid {
    border: 1px solid var(--ntcGray4);

    .x-column-header, .x-column-header {
        font-weight: 600;
	border-right: 1px solid var(--ntcGray4);
        
        .x-column-header-over {
            font-weight: 600;
        }
    }

    .x-grid-cell {
        border-left: 1px solid var(--ntcGray4);
    }

    .x-grid-item-selected .x-grid-cell-inner .fa:not(.x-grid-row-disabled):before {
        color: inherit;
    }
}

.ntc .x-btn {
    padding: 7px 15px;
}

.ntc .x-panel-header-default {
    background-color: white;
}

.ntc .noMarginLeft .x-panel-header-default-horizontal {
    padding-left: 0px;
}
.ntc .noMarginTop .x-panel-header-default-horizontal {
	padding-top: 0px;
}

/* rows open a details window on click (Ships) */
.grid-rows-clickable .x-grid-item .x-grid-cell {
	cursor: pointer;
}

/* Ships - cards view, the card box uses the tourItems styles of the tour catalog */
/* the item wrapper drops out of the layout, so the cards and the group headers wrap in one flex row */
.tourItems.shipItems {
	flex-direction: row;
	flex-wrap: wrap;
	align-content: flex-start;
}
.shipItems .x-dataview-item {
	display: contents;
}
.shipItems .x-dataview-item-inner {
	width: 350px;
	flex: 0 0 350px;
	padding: 0;
}
.shipItems .card {
	cursor: pointer;
	flex-direction: column;
	padding: 12px 14px 10px 12px;
	height: 100%;
	box-sizing: border-box;
}
.shipItems .ship-cards-group {
	flex: 0 0 100%;
	padding: 12px 0 4px 2px;
	font-weight: bold;
	font-size: var(--my-font-size-medium);
	color: var(--primary3);
}
.shipItems .ship-cards-group {
	cursor: pointer;
	user-select: none;
}
.shipItems .ship-cards-group i {
	margin-right: 8px;
}
.shipItems .ship-card-collapsed {
	display: none;
}
.shipItems .ship-cards-group-count {
	font-weight: normal;
	color: var(--gray8);
	margin-left: 6px;
}
.shipItems .ship-card-top {
	display: flex;
	align-items: center;
}
.shipItems .ship-card-thumb {
	width: 56px;
	min-width: 56px;
	height: 56px;
	border-radius: 8px;
	background-color: var(--gray2);
	color: var(--primary3);
	font-size: 26px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 12px;
}
.shipItems .ship-card-id {
	min-width: 0;
	flex: 1;
	line-height: 18px;
}
.shipItems .ship-card-id .title {
	display: block;
	margin-right: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.shipItems .ship-card-id .catalog-flag {
	margin: 2px 0 0 0;
}
.shipItems .ship-card-specs {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px 10px;
	margin: 12px 0 10px 0;
	padding: 10px 0;
	border-top: 1px solid var(--gray3);
	border-bottom: 1px solid var(--gray3);
	line-height: 16px;
}
.shipItems .ship-card-specs .titleBlack {
	margin-right: 0;
}
.shipItems .ship-card-foot {
	display: flex;
	align-items: center;
	font-size: 12px;
	color: var(--gray9);
}
.shipItems .ship-card-foot > i {
	margin-right: 6px;
}
.shipItems .ship-card-mail {
	flex: 1;
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.shipItems .ship-card-details {
	color: var(--primary3);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	white-space: nowrap;
	margin-left: 10px;
}
.shipItems .ship-card-details i {
	margin-left: 4px;
}
.shipItems .ship-cards-empty {
	padding: 20px 2px;
	color: var(--gray8);
}

/* toggle buttons (Cards / Table) on a dark toolbar */
.bg-dark .transparentButtons .ship-view-toggle.x-btn-default-toolbar-small.x-btn-pressed {
	/* the transparentButtons rule of the theme uses !important too */
	background-color: rgba(255, 255, 255, 0.2) !important;
	border-radius: 4px;
}

/* toggle switch (PortAgent.view.component.ToggleField) */
.x-toggle-field .x-form-cb-wrap-inner {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 20px;
}
.x-toggle-field .x-form-cb-wrap-inner::before {
	content: '';
	flex: none;
	width: 36px;
	height: 20px;
	border-radius: 10px;
	background-color: #cbd1d8;
	transition: background-color 0.15s;
}
.x-toggle-field .x-form-cb-wrap-inner::after {
	content: '';
	position: absolute;
	top: 3px;
	left: 3px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background-color: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
	transition: transform 0.15s;
	pointer-events: none;
}
/* the real checkbox stays on top of the switch, invisible, to receive clicks and focus */
.x-toggle-field .x-form-checkbox {
	position: absolute;
	left: 0;
	top: 0;
	width: 36px;
	height: 20px;
	margin: 0;
	opacity: 0;
	cursor: pointer;
	z-index: 1;
}
.x-toggle-field .x-form-cb-label {
	margin: 0 0 0 8px;
	padding: 0;
	top: 0;
	line-height: 20px;
	font-size: 14px;
}
.x-toggle-field.x-form-cb-checked .x-form-cb-wrap-inner::before,
.x-toggle-field .x-form-cb-checked .x-form-cb-wrap-inner::before {
	background-color: #1761b8;
}
.x-toggle-field.x-form-cb-checked .x-form-cb-wrap-inner::after,
.x-toggle-field .x-form-cb-checked .x-form-cb-wrap-inner::after {
	transform: translateX(16px);
}
.x-toggle-field.x-item-disabled .x-form-cb-wrap-inner {
	opacity: 0.5;
}

/* thin horizontal divider (Ext.Component with cls mxp-divider) */
.mxp-divider {
	height: 1px;
	margin: 0 0 10px 0;
	background-color: #e6e9ed;
}


/* eye icon in Published columns */
.published-icon {
	color: #1761b8;
	font-size: 16px;
}
.published-icon.not-published {
	color: #9aa1ab;
}


/* comment icon and its tooltip in grid columns */
.comment-icon {
	color: #1761b8;
	font-size: 16px;
}
.comment-tip-title {
	font-weight: 700;
	margin-bottom: 4px;
}
.comment-tip-gap {
	height: 10px;
}


/* status cells without a coloured pill (dot only) must not add the pill margins to the row height */
.x-grid-cell.cell-status.no-border .x-grid-cell-inner {
	margin-top: 0;
	margin-bottom: 0;
}
.x-grid-cell.cell-status .x-grid-cell-inner .cell-status-dot {
	vertical-align: middle;
}
